package AbstractFactory;

public class Application {
    private GuiFactory factory;
    public Application(GuiFactory factory){
        this.factory=factory;
    }
    public void createUI(){
        factory.createButton().paint();
        factory.createCheckbox().paint();
    }
}
